Skip to content

Fix list reload blink and bump to 3.2.4#74

Merged
dadachi merged 3 commits into
mainfrom
fix-list-reload-blink
Jun 10, 2026
Merged

Fix list reload blink and bump to 3.2.4#74
dadachi merged 3 commits into
mainfrom
fix-list-reload-blink

Conversation

@dadachi

@dadachi dadachi commented Jun 10, 2026

Copy link
Copy Markdown
Contributor

Summary

ShopListView and ItemTagListView flashed a full-screen LoadingView whenever they re-appeared (returning to a tab, popping back from a detail). Each .task/onChange reload sets the view-model state to .loading, which swapped the already-populated content for the spinner and back — a visible blink.

This PR makes .loading keep the existing content on screen and only shows LoadingView on a true cold start (.initial, or .loading with no data yet). Background refreshes (.refreshable, reappearance reloads) now update in place.

Ports the relevant subset of NativeAppTemplate-iOS#87 — only the list views that exist in this substrate (the Free version has no AccountListView).

Changes

  • Blink fix in: ShopListView, ItemTagListView
  • Bump project objectVersion 90 → 100 (Xcode upgraded the project format on open)
  • Bump version to 3.2.4 (build 14) and update CHANGELOG
  • Update the committed scheme's example NATIVEAPPTEMPLATE_API_DOMAIN to 192.168.1.21 (matching upstream), keeping the README example in sync
  • README: document the now-shared scheme (per Make default scheme shared so generated projects ship with one #69) and the git update-index --skip-worktree approach for keeping a personal LAN IP out of git, replacing the stale "uncheck Shared / keep in xcuserdata" instructions

Not ported

  • AccountListView — does not exist in the Free substrate

Test plan

  • make lint passes (0 violations, 0 formatting changes)
  • Verify in Xcode (Cmd+U)
  • Manually: switch tabs / pop back from a detail and confirm lists no longer blink while still refreshing data

🤖 Generated with Claude Code

dadachi and others added 3 commits June 10, 2026 16:09
ShopListView and ItemTagListView flashed a full-screen LoadingView
whenever they re-appeared (returning to a tab, popping back from a
detail). Each .task/onChange reload sets the view-model state to
.loading, which swapped already-populated content for the spinner and
back — a visible blink.

This makes .loading keep existing content on screen and only show
LoadingView on a true cold start (.initial, or .loading with no data
yet). Background refreshes now update in place.

Ports the relevant subset of nativeapptemplate/NativeAppTemplate-iOS#87
— only the list views that exist in this substrate (no AccountListView
here).

- Blink fix in ShopListView, ItemTagListView
- Bump to 3.2.4 (build 14) and update CHANGELOG
- README: document the now-shared scheme (per #69) and the
  git update-index --skip-worktree approach for keeping a personal
  LAN IP out of git, replacing the stale "uncheck Shared" instructions

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Xcode upgraded the project format on open. Matches upstream
NativeAppTemplate-iOS#87.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
Match upstream NativeAppTemplate-iOS#87 and keep the README example
value in sync. This is an example placeholder; developers override it
locally and skip-worktree the scheme.

Co-Authored-By: Claude Opus 4.8 (1M context) <noreply@anthropic.com>
@dadachi dadachi merged commit bac5d42 into main Jun 10, 2026
2 checks passed
@dadachi dadachi deleted the fix-list-reload-blink branch June 10, 2026 08:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant